package com.manager.devicemanager.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.manager.devicemanager.entity.Testbatch;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Collection;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
public interface ITestbatchService extends IService<Testbatch> {

    IPage<Testbatch> selectPage(String dataSourceName, Page<Testbatch> page,Testbatch testbatch);
    Long noendcount(String dataSourceName);

    void updateTestbatchStatus(String dataSourceName, Testbatch testbatch);

    void updateTestBatchStartTime(String dataSourceName, Testbatch testbatch);

    void updateTestBatchEndTime(String dataSourceName, Testbatch testbatch);

    Long getRunHours(String dataSourceName);
    Long getRunDays(String dataSourceName);
     Testbatch getLastData(String dataSourceName);


}
